FROM alpine

ENV variable=baidu.com

CMD [ "/bin/sh","-c","ping ${variable}" ]